﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VisualAgile.DTO;
using VisualAgile.Demo;

namespace VisualAgile.Controllers
{
    public class DemoData
    {
        public static AllManagerFactory ManagerFactory
        {
            get
            {
                AllManagerFactory manager = new AllManagerFactory()
                {
                    UserManager = new FakeUserManager(
                        FakeUserData.CreateTestUsers()
                    ),
                    ProjectManager = new FakeProjectManager(
                        FakeProjectData.CreateTestProjects()
                    ),
                    RoleManager = new FakeRoleManager(
                        FakeRoleData.CreateTestRoles()
                    ),
                    ActualsManager = new FakeActualManager(
                        FakeActualData.CreateTestActual()
                    ),
                    FeatureManager = new FakeFeatureManager(
                        FakeFeatureData.CreateTestFeatures()
                    ),
                    FeelingManager = new FakeFeelingsManager(
                        FakeFeelingsData.CreateTestFeelingss()
                    ),
                    IterationManager = new FakeIterationManager(
                        FakeIterationData.CreateTestIterations()
                    ),
                    LabelManager = new FakeLabelManager(
                        FakeLabelData.CreateDemoLabels()
                    ),
                    ReleaseManager = new FakeReleaseManager(
                        FakeReleaseData.CreateTestReleases()
                    ),
                    StatusManager = new FakeStatusManager(
                        FakeStatusData.CreateTestStatuss()
                    ),
                    StoryManager = new FakeStoryManager(
                        FakeStoryData.CreateTestStorys()
                    ),
                    TaskManager = new FakeTaskManager(
                        FakeTaskData.CreateTestTasks()
                    )
                };

                return manager;
            }
        }
    }
}
